﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using DTO;
using DAO;
namespace BUS
{
    public class ChiTietPhieuBUS
    {
        ChiTietPhieuDAO chitiet = new ChiTietPhieuDAO();
        public DataTable LayTableTheoMaPhieu(PhieuNhapDTO pn)
        {
            return chitiet.LayTableTheoMaPhieu(pn);
        }
        public void them(ChiTietPhieuNhapDTO pn)
        {
           chitiet.them(pn);
        }
        public void Xoa(ChiTietPhieuNhapDTO pn)
        {
            chitiet.xoa(pn);
        }
        public void Sua(ChiTietPhieuNhapDTO pn)
        {
            chitiet.sua(pn);
        }
    }
}
